Digital image decoder with integrated concurrent image prescaler

ABSTRACT

According to some embodiments, encoded information associated with an image is received at a decoder. The encoded information may be decoded at the decoder to generate full-sized first image pixels representing a full-sized version of the image. Moreover, the full-sized pixels may be scaled at the decoder to generate scaled image pixels representing a scaled version of the image.

BACKGROUND

A media player may output moving images to a display device. For example, a media player might retrieve locally stored image information or receive a stream of image information from a media server (e.g., a content provider might transmit a stream that includes high-definition image frames to a television, a set-top box, or a digital video recorder through a cable or satellite network). In some cases, the image information is encoded to reduce the amount of data used to represent the image. For example, an image might be divided into smaller image portions, such as macroblocks, so that information encoded with respect to one image portion does not need to be repeated with respect to another image portion (e.g., because neighboring image portions may frequently have similar color and brightness characteristics).

As a result, the media player may decode encoded image information before it is presented via the display device. Moreover, in some cases the media player may also scale one or more image streams before it is presented. For example, a second image stream may be reduced in size and then be overlaid on a first image stream (e.g., to create a picture-within-a-picture effect). The bandwidth and/or processing needed to scale a decoded image stream, however, can make such a feature difficult to implement.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a media system.

FIG. 2 illustrates a display.

FIG. 3 is a block diagram of a media player.

FIG. 4 is a block diagram of an apparatus according to some embodiments.

FIG. 5 is a flow diagram illustrating a method according to some embodiments.

FIG. 6 is a block diagram of a portion of a media player according to some embodiments.

FIG. 7 is a block diagram of a dual-stream decoder according to some embodiments.

FIG. 8 is a block diagram of a system according to some embodiments.

FIG. 9 illustrates a display according to some embodiments.

DETAILED DESCRIPTION

A media player or similar device may receive image information, decode the information, and output a signal to a display device. For example, a Digital Video Recorder (DVR) might retrieve locally stored image information, or a set-top box might receive a stream of image information from a remote device (e.g., a content provider might transmit a stream that includes high-definition image frames to the set-top box through a cable or satellite network). FIG. 1 is a block diagram of a media system 100 including a media server 110 that provides image information to a remote media player 120 through a communication network 130.

An encoder 114 may reduce the amount of data that is used to represent image content 112 before the data is transmitted by a transmitter 116 as a stream of image information. As used herein, information may be encoded and/or decoded in accordance with any of a number of different protocols. For example, image information may be processed in connection with International Telecommunication Union-Telecommunications Standardization Sector (ITU-T) recommendation H.264 entitled “Advanced Video Coding for Generic Audiovisual Services” (2004) or the International Organization for Standardization (ISO)/International Engineering Consortium (IEC) Motion Picture Experts Group (MPEG) standard entitled “Advanced Video Coding (Part 10)” (2004). As other examples, image information may be processed in accordance with ISO/IEC document number 14496 entitled “MPEG-4 Information Technology—Coding of Audio-Visual Objects” (2001) or the MPEG2 protocol as defined by ISO/IEC document number 13818-1 entitled “Information Technology—Generic Coding of Moving Pictures and Associated Audio Information” (2000).

The media player 120 may decode encoded image information before it is presented via the display device. For example, the media player 120 may include a number of decoders 124 that decode encoded image information. A display controller 122 may receive information from the decoders 124 and select (or combine) the received information before presenting it via the display device.

In some cases the media player 120 may also scale one or more image streams before it is presented. For example, FIG. 2 illustrates a display 200 in which a second image stream 220 is reduced in size and then overlaid on a first image stream 210 (e.g., to create a picture-within-a-picture effect).

FIG. 3 is a block diagram of such a media player 300. In particular, a first decoder 310 receives a first encoded image at full size and provides a first decoded image at full size (e.g., pixel data) to a display controller 330. Similarly, a second decoder 320 receives a second encoded image at full size and provides a second decoded image at full size to the display controller 330. The display controller 330 includes a scaling engine 330 that reduces the size of the second image in real time before overlaying the information on the first image (e.g., to generate a display such as the one illustrated in FIG. 2).

Note, however, that in this case the second decoder 320 is transmitting the entire full-sized version of the second image to the display controller 330 (even though the full-sized second image will not be displayed). For example, when a picture-within-a-picture feature is selected by user, the media player 300 may experience a substantial burst of memory traffic (when both full-sized images are being transferred to the display controller 330). As a result, the bandwidth and/or processing needed by the media player 300 to handle this situation can make such a feature difficult to implement.

FIG. 4 is a block diagram of an apparatus 400 according to some embodiments. The apparatus 400 might be associated with, for example, a media player, a television, a Personal Computer (PC), wireless device (e.g., a home media server), a game device, a DVR, and/or a set-top box.

As before, a first decoder 410 receives a first encoded image at full size and provides a first decoded image at full size (e.g., pixel data associated with a moving image) to a display controller 430. Similarly, a second decoder 420 receives a second encoded image at full size. In this case, however, the second decoder 420 includes an integrated scaling engine 425 that reduces the size of the second image before providing the information to the display controller 430. The display controller 430 may then overlay the pre-scaled information on the first image (e.g., to generate a display such as the one illustrated in FIG. 2). Because the scaled version of the second decoded image is provided from the second decoder 420 to the display controller 430 (as opposed to the full-sized version of the second decoded image), the amount of memory traffic experienced in the apparatus 400 may be reduced.

FIG. 5 is a flow diagram illustrating a method according to some embodiments. The method may be performed, for example, by the apparatus of FIG. 4. The flow charts described herein do not necessarily imply a fixed order to the actions, and embodiments may be performed in any order that is practicable. Note that any of the methods described herein may be performed by hardware, software (including microcode), firmware, or any combination of these approaches. For example, a storage medium may store thereon instructions that when executed by a machine result in performance according to any of the embodiments described herein.

At 502, encoded information associated with a first image is received at a decoder. For example, encoded MPEG information might be received at the decoder (e.g., from a local storage unit or a remote media server).

At 504, the decoder decodes the encoded information to generate full-sized first image pixels representing a full-sized version of the first image. For example, the decoder may decode MPEG information to generate full-sized pixel data associated with the first image. This pixel data might, for example, be stored in a buffer local to the decoder.

At 506, the full-sized pixels are scaled at the decoder to generate scaled first image pixels representing a scaled version of the first image. For example, an integrated pre-scaling device might use a scaling algorithm to generate the scaled first image pixels. These scaled first image pixels might then be transferred to a display controller. In that case, the display controller might combine the scaled first image pixels with full-sized second image pixels representing a full-sized version of a second image (e.g., received by the display controller from another decoder).

FIG. 6 is a block diagram of a portion of a media player according to some embodiments. In particular, the media player includes a decoder 600 that received encoded information associated with a full-sized version of an image (e.g., a moving picture). The decoder 600 may decode the information and store write pixel data in a local, on-chip macroblock memory 810. If the decoder 600 is to provide a full-sized version of the image, this information can be transferred by a video frame buffer access controller 820 to an external main memory picture buffer 840.

The decoder 600 also includes an integrated pre-scaler 830 that can scale the information in the macroblock memory 810. For example, the pre-scaler may perform scaling on the macroblock data using a filtering algorithm, such as a median filter, a first order two-dimensional interpolator, or a higher order two-dimensional interpolator. According to some embodiments, the filter algorithm scales the macroblocks using a scaling factor of ½^(n), where n is an integer greater than zero (e.g., by ½. or ¼). The scaled information may then be provided (e.g., stored in a separate, auxiliary frame buffer).

FIG. 7 is a block diagram of a dual-stream decoder 700 according to some embodiments. Although an MPEG decoder 700 is used herein as an example, note that embodiments may be associated with any generic video decompression algorithm. The decoder 700 includes a Packet Elementary Stream (PES) packet streamer 702 for two streams of moving image data. The PES packet streamer 702 may, for example, provide information to a pair of stream First-In, First-Out (FIFO) buffers 706 via a MPEG stream input Direct Memory Access (DMA) unit 704. The PES packet streamer 702 may also select information from one of the buffers 706 to be provided to a PES video parser 710 via a multiplexer 708.

The Elementary Stream (ES) may be provided from the parser 710 to a MPEG ES decoder 712. The parser 710 may also provide the Presentation Time Stamp (PTS) to a frame buffer manager 714 (which may also receive program time-bases). Note that one frame buffer manager 714 may be provided per stream. Also note that the frame buffer manager 714 may also provide a display buffer address and write signal to a display plane frame pointer 716 (with one pointer being provided per stream). In addition, the parser 710 may provide new frame information to the PES packet streamer 702 and the MPEG ES decoder 712 may provide picture done, stall, and ES select information to the PES packet streamer 702.

The MPEG ES decoder 712 may provide information to a frame buffer access controller 718 (e.g., to be potentially provided via a bus). The frame buffer access controller 718 may, for example, facilitate a transfer of write pixel data from a macroblock memory in the decoder 700 to a picture buffer in main memory (not illustrated in FIG. 7). According to this embodiment, an integrated frame buffer pre-scaler 720 is also provided for the dual-stream decoder 700. The pre-scaler 720 might be controlled, for example, using information from a control, status, and configuration register interface 722. The frame buffer pre-scaler 720 may, for example, receive macroblock information and control information (e.g., configuration information from the register interface 722) and generate pixels associated with a scaled down version of the image. Such an approach may, for example, reduce video traffic near the start of the video processing chain and reduce unnecessary display or compositing memory traffic when high resolution information is not required. As a result, a relatively low cost implementation of a media player or similar device may be provided.

FIG. 8 is a block diagram of a system 800 according to some embodiments. The system 800 might be associated with, for example, a digital display device, a television such as a High Definition Television (HDTV) unit, a DVR, a game console, a PC or laptop computer, a wireless device, and/or a set-top box (e.g., a cable or satellite decoder). The system may operate in accordance with any of the embodiments described herein. For example, a first decoder 810 may receive a first encoded image at full size and provide a first decoded image at full size (e.g., pixel data associated with a moving image) to a display controller 830. Similarly, a second decoder 820 may receive a second encoded image at full size, and an integrated scaling engine 825 may reduce the size of the second image before providing the information to the display controller 830. The display controller 830 may then overlay the pre-scaled information on the first image (e.g., to generate a display such as the one illustrated in FIG. 2). Because the scaled version of the second decoded image is provided from the second decoder 820 to the display controller 830 (as opposed to the full-sized version of the second decoded image), the amount of memory traffic experienced in the system 800 may be reduced. According to some embodiments, the display controller 830 generates information that is provided to a display device via a digital output 840.

The following illustrates various additional embodiments. These do not constitute a definition of all possible embodiments, and those skilled in the art will understand that many other embodiments are possible. Further, although the following embodiments are briefly described for clarity, those skilled in the art will understand how to make any changes, if necessary, to the above description to accommodate these and other embodiments and applications.

For example, although generation of a picture-within-a-picture has been described herein, embodiments may be associated with any other types of displays. For example, FIG. 9 illustrates a display 900 according to some embodiments. In this case, the display 900 includes a first scaled image 910, a second scaled image 920, and a third scaled image 930. In this case, multiple decoders may each include a pre-scaler and a display controller may receive scaled version of three different display images. As another example, multiple decoders might share a single pre-decoder according to other embodiments.

Moreover, although particular image processing protocols and networks have been used herein as examples (e.g., MPEG and H.264), embodiments may be used in connection any other type of image processing protocols or networks, such as Digital Terrestrial Television Broadcasting (DTTB) and Community Access Television (CATV) systems.

The several embodiments described herein are solely for the purpose of illustration. Persons skilled in the art will recognize from this description other embodiments may be practiced with modifications and alterations limited only by the claims. 

1. A method, comprising: receiving at a decoder encoded information associated with a first image; decoding the encoded information at the decoder to generate full-sized first image pixels representing a full-sized version of the first image; and scaling the full-sized pixels at the decoder to generate scaled first image pixels representing a scaled version of the first image.
 2. The method of claim 1, further comprising: transferring the scaled first image pixels to a display controller.
 3. The method of claim 2, further comprising: receiving at the display controller the scaled first image pixels; receiving at the display controller full-sized second image pixels representing a full-sized version of a second image; and combining at the display controller the scaled first image pixels and the full-sized second image pixels.
 4. The method of claim 3, further comprising: receiving at the display controller the scaled first image pixels; receiving at the display controller scaled second image pixels representing a scaled version of a second image; and combining at the display controller the scaled first image pixels and the scaled second image pixels.
 5. The method of claim 1, wherein the first image is associated with at least one of: (i) H.264 information, (ii) Motion Picture Experts Group 2 information, or (iii) Motion Picture Experts Group 4 information.
 6. The method of claim 1, wherein said receiving is associated with at least one of: (i) a digital display device, (ii) a television, (iii) a digital video recorder, (iv) a game device, (v) a personal computer, (vi) a wireless device, or (vii) a set-top box.
 7. An apparatus, comprising: a first decoder to receive encoded information associated with a first moving image; a second decoder to receive encoded information associated with a second moving image, wherein the second decoder includes an integrated pre-scaler; and a display controller to receive information from the first and second decoders.
 8. The apparatus of claim 7, wherein the integrated pre-scaler is associated with a frame buffer pre-scaler.
 9. The apparatus of claim 8, wherein the second decoder further includes: a macroblock memory, and a video frame buffer access controller to decode write pixel data from the macroblock memory.
 10. The apparatus of claim 9, wherein the macroblock memory comprises on-chip storage of the second decoder.
 11. The apparatus of claim 9, further comprising: a main memory picture buffer.
 12. The apparatus of claim 9, wherein frame buffer pre-scaler performs scaling on the macroblock data using a filtering algorithm.
 13. The apparatus of claim 12, wherein the filter algorithm scales the macroblocks using a scaling factor of ½^(n), where n is an integer greater than zero.
 14. The apparatus of claim 12, wherein the filtering algorithm is associated with at least one of: (i) a median filter, (ii) a first order two-dimensional interpolator, or (iii) a higher order two-dimensional interpolator.
 15. The apparatus of claim 11, wherein said scaling is controlled via a control, status, and configuration register interface.
 16. The apparatus of claim 7, wherein said first decoder includes an integrated pre-scaler.
 17. The apparatus of claim 7, wherein the first and second decoders are associated with a dual-stream decoder and wherein the first and second decoders share the integrated pre-scaler.
 18. A system, comprising: a decoder to receive encoded information associated with a picture, including: an integrated pre-scaler; and a digital output to provide a digital signal to a digital display device.
 19. The system of claim 18, further comprising: a display controller to receive information from the decoder and to provide the digital signal via the digital output.
 20. The system of claim 18, wherein the system is associated with at least one of: (i) a digital display device, (ii) a television, (iii) a digital video recorder, (iv) a game device, (v) a personal computer, (vi) a wireless device, or (vii) a set-top box. 